package com.trxy.hotelsystem.dao;

import java.util.List;

import com.trxy.hotelsystem.model.kaifanRecord;

public interface kaifanRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(kaifanRecord record);

    int insertSelective(kaifanRecord record);

    kaifanRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(kaifanRecord record);

    int updateByPrimaryKey(kaifanRecord record);
    
    List<kaifanRecord> selectkaifanRecordByVipNumber(String vipNumber);
    
    List<kaifanRecord> queryKaifangRecordAll();
    
    List<kaifanRecord> selectKaifanRecord(kaifanRecord record);
    
    double sumKaifanRcordByVipnumber(String vipNumber);
}